package com.example.building_material_mannager.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Capaccount {

    private  Integer caid;
    @NotEmpty(message = "账户名不能为空")
    private  String caname;
    private  String canumber;
    private  Integer balance;
    private  Integer oldbalance;
}
